﻿using System;
using System.Linq;
namespace CoolCode.Search
{
	public interface ILinqSearchEngine
	{
		IHighlighter Highlighter { get; }
		SegmentEngine Parser { get; }
		IQueryable Search(string text, IQueryable source, string[] searchFields);
		IQueryable<T> Search<T>(string text, IQueryable<T> source, string[] searchFields);
	}
}
